@extends('home.layouts.main')

@section('title', '登录')

@section('content')
    <form class="form-signin" action="{{ url('/auth/auth/login') }}" method="post">
        <input type="hidden" name="_token" value="{{ csrf_token() }}">
        <h2 class="form-signin-heading">Please sign in</h2>
        <label class="sr-only" for="inputEmail">Username</label>

        <input id="uname" class="form-control" type="text" name="username" autofocus="" required="" placeholder="Username">

        <label class="sr-only" for="inputPassword">Password</label>

        <input id="inputPassword" class="form-control" type="password" name="password" required="" placeholder="Password">

        <div class="checkbox">
            <label>

                <input type="checkbox" value="remember-me" name="remember">
                Remember me
                <span id="transmark"></span>
            </label>
        </div>

        <p>
            <a class="btn btn-default" role="button" href="#">Register</a>
            <a class="btn btn-default" role="button" href="#">Forgot Password</a>
        </p>

        <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
    </form>
@endsection